package com.bwie.record.generator;

import java.util.Random;

public class NameGenerator {
    private static final String[] FIRST_NAMES = {"赵", "钱", "孙", "李", "周", "吴", "郑", "王", "张", "冯", "杨"};
    private static final String[] MIDDLE_NAMES = {"伟", "芳", "娜", "敏", "静", "秀", "建", "强", "海", "国", "芳"};
    private static final String[] LAST_NAMES = {"华", "国", "俊", "明", "丽", "军", "毅", "刚", "栋", "阳", "洋", "勇", "毅"};

    public static String generateThreeCharacterName() {
        Random random = new Random();
        String firstName = FIRST_NAMES[random.nextInt(FIRST_NAMES.length)];
        String middleName = MIDDLE_NAMES[random.nextInt(MIDDLE_NAMES.length)];
        String lastName = LAST_NAMES[random.nextInt(LAST_NAMES.length)];
        return firstName + middleName + lastName;
    }

    public static String generateTwoCharacterName() {
        Random random = new Random();
        String firstName = FIRST_NAMES[random.nextInt(FIRST_NAMES.length)];
        String lastName = LAST_NAMES[random.nextInt(LAST_NAMES.length)];
        return firstName + lastName;
    }
}
